package com.dmap.admin.po;

import java.io.Serializable;

public class DeviceType implements Serializable {
    /**
     * 主键id
     * 表字段 : device_type.id
     */
    private Long id;

    /**
     * 设备类型编号
     * 表字段 : device_type.type_number
     */
    private String typeNumber;

    /**
     * 设备类型名称
     * 表字段 : device_type.type_name
     */
    private String typeName;

    /**
     * 设备类型的图片url
     * 表字段 : device_type.type_image_url
     */
    private String typeImageUrl;

    /**
     * 状态：1正常，2禁用
     * 表字段 : device_type.status
     */
    private Integer status;

    /**
     * 备注
     * 表字段 : device_type.note
     */
    private String note;

    /**
     * 创建时间
     * 表字段 : device_type.create_time
     */
    private Long createTime;

    /**
     * 最后更新时间
     * 表字段 : device_type.update_time
     */
    private Long updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table device_type
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table device_type
     *
     * @mbggenerated
     */
    public DeviceType(Long id, String typeNumber, String typeName, String typeImageUrl, Integer status, String note, Long createTime, Long updateTime) {
        this.id = id;
        this.typeNumber = typeNumber;
        this.typeName = typeName;
        this.typeImageUrl = typeImageUrl;
        this.status = status;
        this.note = note;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table device_type
     *
     * @mbggenerated
     */
    public DeviceType() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column device_type.id
     *
     * @return the value of device_type.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column device_type.id
     *
     * @param id the value for device_type.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column device_type.type_number
     *
     * @return the value of device_type.type_number
     *
     * @mbggenerated
     */
    public String getTypeNumber() {
        return typeNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column device_type.type_number
     *
     * @param typeNumber the value for device_type.type_number
     *
     * @mbggenerated
     */
    public void setTypeNumber(String typeNumber) {
        this.typeNumber = typeNumber == null ? null : typeNumber.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column device_type.type_name
     *
     * @return the value of device_type.type_name
     *
     * @mbggenerated
     */
    public String getTypeName() {
        return typeName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column device_type.type_name
     *
     * @param typeName the value for device_type.type_name
     *
     * @mbggenerated
     */
    public void setTypeName(String typeName) {
        this.typeName = typeName == null ? null : typeName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column device_type.type_image_url
     *
     * @return the value of device_type.type_image_url
     *
     * @mbggenerated
     */
    public String getTypeImageUrl() {
        return typeImageUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column device_type.type_image_url
     *
     * @param typeImageUrl the value for device_type.type_image_url
     *
     * @mbggenerated
     */
    public void setTypeImageUrl(String typeImageUrl) {
        this.typeImageUrl = typeImageUrl == null ? null : typeImageUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column device_type.status
     *
     * @return the value of device_type.status
     *
     * @mbggenerated
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column device_type.status
     *
     * @param status the value for device_type.status
     *
     * @mbggenerated
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column device_type.note
     *
     * @return the value of device_type.note
     *
     * @mbggenerated
     */
    public String getNote() {
        return note;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column device_type.note
     *
     * @param note the value for device_type.note
     *
     * @mbggenerated
     */
    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column device_type.create_time
     *
     * @return the value of device_type.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column device_type.create_time
     *
     * @param createTime the value for device_type.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column device_type.update_time
     *
     * @return the value of device_type.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column device_type.update_time
     *
     * @param updateTime the value for device_type.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table device_type
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", typeNumber=").append(typeNumber);
        sb.append(", typeName=").append(typeName);
        sb.append(", typeImageUrl=").append(typeImageUrl);
        sb.append(", status=").append(status);
        sb.append(", note=").append(note);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}